// packageB/mycomponent/regional-agent/top/top.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    pageType: {
      type: String,
      value: ''
    },
    memberInfo: {
      type: Object,
      value: {}
    },
    applyRule: {
      type: Object,
      value: {}
    },
    publicRule: {
      type: Object,
      value: {}
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    rulesShow: false
  },

  /**
   * 组件的方法列表
   */
  methods: {
    showRules: function() {
      this.setData({ rulesShow: true })
    },
  }
})